import request from '../utils/request.js'
export function gethomeData(params) {
    return request({
        url: '/gethome',
        method: 'get',
        params
    })
}
export function delteById(data) {
    return request({
        url: '/delete2',
        method: 'post',
        data
    })
}
export function addHomeApi(data) {
    return request({
        url: '/addhome',
        method: 'post',
        data
    })
}
export function updateApi(data) {
    return request({
        url: '/updatehome',
        method: 'post',
        data
    })
}